import request from '@/utils/request'

export function getMembers(data){
  return request({
    url:'/gym-admin/member/list',
    method:'',
    data
  })
}

export function addMembers(data){
  return request({
    url:'/gym-admin/member/add',
    method:'',
    data
  })
}

export function updateMembers(data){
  return request({
    url:'/gym-admin/member/edit',
    method:'',
    data
  })
}

export function deleteMembers(data){
  return request({
    url:'/gym-admin/member/delete',
    method:'',
    data
  })
}